!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
service password-encryption
security passwords min-length 10
!
hostname R2
!
!
!
enable secret 5 $1$mERr$WvpW0n5HghRrqnrwXCUUl.
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
username ayush secret 5 $1$mERr$PrA0bR3RE94SApHY0kg/L1
!
!
license udi pid CISCO1941/K9 sn FTX1524UJUS-
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface GigabitEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/0/0
 ip address 10.1.1.2 255.255.255.252
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 ayush12345
!
interface Serial0/0/1
 ip address 10.2.2.2 255.255.255.252
 ip ospf authentication message-digest
 ip ospf message-digest-key 1 md5 ayush12345
 clock rate 64000
!
interface Serial0/1/0
 no ip address
 clock rate 2000000
 shutdown
!
interface Serial0/1/1
 no ip address
 clock rate 2000000
 shutdown
!
interface Vlan1
 no ip address
 shutdown
!
router ospf 1
 log-adjacency-changes
 area 0 authentication message-digest
 network 10.1.1.0 0.0.0.3 area 0
 network 10.2.2.0 0.0.0.3 area 0
!
ip classless
ip route 172.16.3.0 255.255.255.0 10.2.2.1 
ip route 209.165.200.224 255.255.255.248 10.1.1.1 
!
ip flow-export version 9
!
!
!
banner motd $Unauthorized access strictly prohibited$
!
!
!
!
line con 0
 exec-timeout 15 0
 logging synchronous
 login local
!
line aux 0
!
line vty 0 4
 exec-timeout 5 0
 logging synchronous
 login local
 transport input ssh
!
!
ntp authentication-key 1 md5 080F787E1918160405041E00 7
ntp authenticate
ntp trusted-key 1
ntp master 3
!
end

